package com.ld.businesscard_manage.service;

import com.ld.businesscard_manage.bean.Recyle;
import com.ld.businesscard_manage.bean.User;

import java.util.List;

public interface RecyleService {
	//把名片放入回收站
	public int recyleCard(Recyle recyle);
	//得到回收站中所有的名片信息
	public List<Recyle> getAllRecyles();
	public int deleteRecyleByCardId(Integer id);
	//查询个人的回收站
	public List<Recyle> getMyRecyles(String account);
	//通过名片id查询回收站中的信息
	public Recyle getRecyleByCardId(Integer id);
	//模糊查询回收站中内容
	public List<Recyle> getRecylesByLike(User user,String name);
}
